package com.xiaoyu.awakening.records.provider;

import com.xiaoyu.awakening.common.core.dto.Result;
import com.xiaoyu.awakening.records.dto.AwkOptLogsDTO;
import com.xiaoyu.awakening.records.dto.AwkServerLogsDTO;

/**
 * IAwkRecordsProviderApi
 *
 * @author wangxiaoyu
 * @date 2024/12/19 09:31
 * @since v1.0
 */
public interface IAwkRecordsProviderApi {
    /**
     * 数据异步保存
     *
     * @param awkOptRecordsDTO 业务日志记录
     * @author wangxiaoyu
     * @date 2024/12/19 09:42
     * @since v1.0
     */
    Result<Object> saveOptLog(AwkOptLogsDTO awkOptLogsDTO);

    Result<Object> saveServerLog(AwkServerLogsDTO awkServerLogsDTO);

}
